﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WebConsumer
{
    public partial class showArt : Form
    {
        Artista.ArtistaS art;

        public showArt(Artista.ArtistaS art)
        {
            InitializeComponent();
            this.art = art;
        }

        private void showArt_Load(object sender, EventArgs e)
        {
            label1.Text = "Nome: ";
            label2.Text = "Descrição: ";
            label3.Text = "Link: ";
            textBox1.Text = art.nomeArtista;
            textBox1.Enabled = true;
            textBox2.Text = art.descricao;
            textBox2.Enabled = true;
            textBox2.Multiline = true;
            textBox3.Text = art.linkArtista;
            textBox3.Enabled = true;
        }

        private void atrasToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Hide();
            getArt ga = new getArt();
            ga.Show();
        }
    }
}
